//
//  CustomUtilities.h
//  test_simple_project
//
//  自定义工具类 - 完全可混淆
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

// 自定义枚举 - 可混淆
typedef NS_ENUM(NSInteger, CustomProcessingMode) {
    CustomProcessingModeNormal = 0,
    CustomProcessingModeFast = 1,
    CustomProcessingModeDetailed = 2
};

// 自定义工具类 - 可混淆
@interface CustomUtilities : NSObject

// 字符串处理工具 - 可混淆
+ (NSString *)customEncodeString:(NSString *)input;
+ (NSString *)customDecodeString:(NSString *)encoded;
+ (NSString *)customHashString:(NSString *)input;
+ (BOOL)customValidateEmail:(NSString *)email;

// 数据处理工具 - 可混淆
+ (NSArray *)customSortArray:(NSArray *)array ascending:(BOOL)ascending;
+ (NSDictionary *)customGroupArray:(NSArray *)array byKey:(NSString *)key;
+ (NSData *)customSerializeObject:(id)object;
+ (id)customDeserializeData:(NSData *)data;

// 自定义计算工具 - 可混淆
+ (double)customCalculateDistance:(CGPoint)point1 to:(CGPoint)point2;
+ (NSInteger)customGenerateRandomNumber:(NSInteger)min max:(NSInteger)max;
+ (NSString *)customFormatFileSize:(long long)bytes;

// 自定义验证工具 - 可混淆
+ (BOOL)customIsValidPhoneNumber:(NSString *)phone;
+ (BOOL)customIsValidCreditCard:(NSString *)cardNumber;
+ (NSString *)customSanitizeInput:(NSString *)input;

@end

NS_ASSUME_NONNULL_END
